package com.jnu.hc.jnuhcusercms.mapper;

import com.jnu.hc.jnuhcusercms.domain.Cidetailedreport;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CidetailedreportMapper {
    int deleteByPrimaryKey(Integer cidrId);

    int insert(Cidetailedreport record);

    int insertSelective(Cidetailedreport record);

    Cidetailedreport selectByPrimaryKey(Integer cidrId);

    int updateByPrimaryKeySelective(Cidetailedreport record);

    int updateByPrimaryKey(Cidetailedreport record);
    public int saveCiDetailedReport(List<Cidetailedreport> list);
    @Select("select * from cidetailedreport where orderId=#{orderId} and ciId=#{ciId} order by cidrId")
    public List<Cidetailedreport> listCiDetailedReportByOrderIdByCiId(Cidetailedreport ciDetailedReport);

    public int updateCiDetailedReport(List<Cidetailedreport> list);

}